feat: add --force-render-cgroup args to make lxcfs render in view of specific cgroup#696
feat: add --force-render-cgroup args to make lxcfs render in view of specific cgroup#696
Conversation
|
Hi @okhowang, please, could you sign-off your commit in accordance with our contribution guideline (https://github.com/lxc/lxcfs/blob/main/CONTRIBUTING.md). Also, please, describe your changes and use case. From what I see in the code, you basically force to always use the same cgroup to take data from. Kind regards, |
mihalicyn
left a comment
There was a problem hiding this comment.
I've left a comment before.
…specific cgroup Signed-off-by: okhowang(王沛文) <okhowang@tencent.com>
bc2daab to
004c7ee
Compare
|
I use in the pattern containers can see each others, and share same resource. because docker will create a new cgroup in I want they all got resource view in |
it's useful in some complex container hierarchy,
many container work in same parent cgroup for sharing resource (cpu and other)
but need inspect total usage of parent cgroup in single container